package com.dumengwei.cms_20.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dumengwei.cms_20.entity.Artical;
import com.dumengwei.cms_20.mapper.CateMapper;
import com.dumengwei.cms_20.service.CateService;
@Service
public class CateServiceImpl implements CateService {
	@Autowired
	private CateMapper cateMapper;
	@Override
	public void add(Artical artical) {
		cateMapper.add(artical);
	}
	@Override
	public Object sanji(Integer cid) {
		// TODO Auto-generated method stub
		return cateMapper.list(cid);
	}
}	
